from PYTHON_SDK.msprint import MSPrintSDK

printer = MSPrintSDK()
printer.set_device(1, "/dev/usb/lp1", 0)
printer.set_printer_model(1)
printer.initialize()
result = printer.print_text("Hello, World!")
print(f"Print result: {result}")